<template>
  <div>
    <de-header>欢迎登入</de-header>
    <section class="login-section">
      <div class="wrapper">
        <nav>
          <a href="javascript:;">账户登录</a>
          <a href="javascript:;">扫码登录</a>
        </nav>
        <div class="account-box">
          <Defrom></Defrom>
        </div>
      </div>
    </section>
    <de-footer></de-footer>
  </div>
</template>
<script>
import DeHeader from "@/components/login/DeHeader.vue"
import DeFooter from "@/components/login/Defooter.vue"
import Defrom from "@/components/login/defrom.vue";
export default {
  components: { DeHeader, DeFooter, Defrom },
  data() {
    return {

    }
  },
  methods: {

  },
}
</script>
<style lang="scss">
@import "@/assets/css/variables.scss";

.login-section {
  background: url(@/assets/img/sum.png) no-repeat center / cover;
  height: 488px;
  position: relative;

  .wrapper {
    width: 380px;
    background: #fff;
    min-height: 400px;
    position: absolute;
    left: 50%;
    top: 54px;
    transform: translate3d(100px, 0, 0);
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);

    nav {
      height: 55px;
      border-bottom: 1px solid #f5f5f5;
      display: flex;
      padding: 0 40px;
      text-align: right;
      align-items: center;

      a {
        flex: 1;
        line-height: 1;
        display: inline-block;
        font-size: 18px;
        position: relative;

        &:first-child {
          border-right: 1px solid #f5f5f5;
          text-align: left;
        }

        &.active {
          color: $xtxColor;
          font-weight: bold;
        }
      }
    }
  }
}
</style>